package com.info.zhiduoduo.repository.dto.crowdsource;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.info.zhiduoduo.common.excelconverter.PaymentStatusConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @program: zhiduoduo
 * @author: LiTong
 * @create: 2020-12-14 11:03
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ToString
public class ExportProjectTransactionDetailCompanyDto {

    @ApiModelProperty("发单企业")
    @ExcelProperty("发单企业")
    private String compname;

    @ApiModelProperty("商务经理")
    @ExcelIgnore
    private String businessManager;

    @ApiModelProperty("项目创建日期")
    @ExcelProperty("项目创建日期")
    private String createtime;

    @ApiModelProperty("交易结束时间")
    @ExcelProperty("交易结束时间")
    private String finishtime;

    @ApiModelProperty("项目名称")
    @ExcelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("收款人户名")
    @ExcelProperty("收款人户名")
    private String acctname;

    @ApiModelProperty("工作室名称")
    @ExcelProperty("工作室名称")
    private String username;

    @ApiModelProperty("手机号")
    @ExcelProperty("手机号")
    private String phone;

    @ApiModelProperty("身份证号")
    @ExcelProperty("身份证号")
    private String idno;

    @ApiModelProperty("收款账号")
    @ExcelProperty("收款账号")
    private String acctno;

    @ApiModelProperty("收款方开户行名称")
    @ExcelProperty("收款方开户行名称")
    private String bankname;

    @ApiModelProperty("共享经济服务费")
    @ExcelProperty("共享经济服务费")
    private Double tradeamount;


    @ApiModelProperty("项目服务费+综合税费")
    @ExcelProperty("项目服务费+综合税费")
    private Double projectServiceCharge;

    @ApiModelProperty("支付状态")
    @ExcelProperty(value = "状态",converter = PaymentStatusConverter.class)
    private int status;

    @ApiModelProperty("支付方式")
    @ExcelIgnore
    private int payId;

    @ApiModelProperty("用户类型")
    @ExcelIgnore
    private String usertype;

//    @ApiModelProperty("交易主体")
//    @ExcelProperty("交易主体")
//    private String transactionSubject;

    @ApiModelProperty("项目记录的运营主体")
    @ExcelIgnore
    private int partyId;

}
